package com.h2n.framework.dao;

import com.h2n.framework.dto.NewsDTO;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: NhatNV
 * Date: Sep 11, 2009
 * Time: 11:39:31 PM
 * To change this template use File | Settings | File Templates.
 */
public interface INewsDAO {
  public long insert(NewsDTO _newsDTO) throws Exception;
  public void update(NewsDTO _newsDTO) throws Exception;
  public void delete(int _newsItem) throws Exception;
  public NewsDTO getInfo(int _newsItem) throws Exception;
  public List<NewsDTO> getAll() throws Exception;
}
